package com.chaoyi.dao.mysql;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.chaoyi.model.Fiction;

public interface FictionMapper {

	List<Fiction> findList(@Param("pageStat")String offset,@Param("pageStop")String limit);

	int findCount();

	int saveFiction(@Param("fiction")Fiction fiction);

	Fiction findFictionOne(@Param("id")int id);

	int alertFictionSave(@Param("fiction")Fiction fiction);

	int deleteFiction(@Param("id")int id);

}
